package com.pipayshop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pipayshop.entity.ShopEvaluate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 网店评价 Mapper 接口
 * </p>
 *
 * @author zxb
 * @since 2023-07-29
 */
@Mapper
public interface HotelShopEvaluateMapper extends BaseMapper<ShopEvaluate> {

    /**
     * 获取实体店评价数
     * @param shopId 店铺ID
     * @return 评价数量
     */
    Integer selectShopEvaluateCount(@Param("shopId") String shopId);
}
